package io.mft.dev.base;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import io.mft.api.domain.Api;
import io.mft.commons.config.datasource.DSConfig;
import io.mft.commons.config.mq.MqConfig;
import io.mft.dev.base.cache.RegionConfig;
import lombok.Getter;

@Getter
public class MFTRuntimeConfig {
	private final List<Api> apis=new ArrayList<>();
	private final DSConfig dsConfig=new DSConfig();
	private final List<MqConfig> mqConfigs=new ArrayList<>();
	private final List<RegionConfig<?>> regionConfigs=new ArrayList<>();
	private final List<ApiThreadExecutorConfig> apiThreadExecutorConfigs=new ArrayList<ApiThreadExecutorConfig>();
	private final Map<String, Api> apiMap = new ConcurrentHashMap<String, Api>();
}
